Conversation
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the
📝 WalkthroughWalkthroughRefactors image preview rendering and state: LivePreview now tracks load errors and actual dimensions, ImagePreview and LGraphNode adjust layout and prop usage, NodeWidgets alters flex behavior, and useNodePreviewState tightens latestPreviewUrl typing. Changes
Sequence Diagram(s)sequenceDiagram
participant Node as LGraphNode
participant State as useNodePreviewState
participant Live as LivePreview
participant Img as <img> (browser)
Node->>State: request latestPreviewUrl
State-->>Node: latestPreviewUrl (string or '')
Node->>Live: render with imageUrl = latestPreviewUrl (v-if gating)
Live->>Img: set src = imageUrl (if present)
alt image loads successfully
Img-->>Live: onload -> handleImageLoad(actualDimensions)
Live->>Live: set imageError = false, store dimensions
Live-->>Node: (renders image and dimensions)
else image fails to load
Img-->>Live: onerror -> handleImageError()
Live->>Live: set imageError = true
Live-->>Node: (renders error block and message)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🎭 Playwright Tests: ✅ PassedResults: 523 passed, 0 failed, 0 flaky, 8 skipped (Total: 531) 📊 Browser Reports
|
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 02/07/2026, 12:10:17 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 22.5 kB (baseline 22.5 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 840 kB (baseline 840 kB) • 🟢 -313 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 69 kB (baseline 69 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 9 added / 9 removed Panels & Settings — 410 kB (baseline 410 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens
Status: 12 added / 12 removed User & Accounts — 16 kB (baseline 16 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 5 added / 5 removed Editors & Dialogs — 3.47 kB (baseline 3.47 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 37.8 kB (baseline 37.8 kB) • ⚪ 0 BReusable component library chunks
Status: 5 added / 5 removed Data & Services — 2.1 MB (baseline 2.1 MB) • 🔴 +67 BStores, services, APIs, and repositories
Status: 11 added / 11 removed Utilities & Hooks — 234 kB (baseline 234 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 12 added / 12 removed Vendor & Third-Party — 9.37 MB (baseline 9.37 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 7.1 MB (baseline 7.1 MB) • ⚪ 0 BBundles that do not match a named category
Status: 49 added / 49 removed |
|
Updating Playwright Expectations |
…s-snapshots/vue-nodes-upload-widgets-chromium-linux.png
Fixes multiple overlapping issues with both the ImagePreviews (LoadImage node) and LivePreview (Ksampler node) to eliminate empty space and move the bahviour to be closer to the litegraph implementation.
NodeWidgets will no longer no longer flex-grow when it contains no widgets capable of growing

The number of element layers for LivePreview has been reduced. Sizing is difficult to properly spread across nested flex levels.
The ImagePreview and LivePreview now have
contain-sizeset with a min height of 220 pixels (the same as the litegraph implementation). This allows images to "pillarbox" by increasing width without increasing height.┆Issue is synchronized with this Notion page by Unito